<include file="Public/header"/>

	<div class="wrapperBox">
 
			<div class="help-l fl">
			    <div class="help-item">
			        <div class="help-item-title">个人中心
			            <a href="javascript:void(0)" class="abs"></a>
			        </div>
			        <div class="help-item-list">
			            <ul>
                            <li><a href="{:U('myaccount')}">账户余额</a></li>
			                <li><a href="{:U('index')}">编辑资料</a></li>
			                <li><a href="{:U('myJoin')}">我参与的</a></li>
			                <li><a href="{:U('myFollow')}">我关注的</a></li>
			                <li><a href="{:U('myHost')}">我发布的</a></li>
			                <li><a href="{:U('invited')}">邀请回答</a></li>
			            </ul>
			        </div>
			    </div>
			</div>


<style>
.file_btn { display: inline-block; background: #000; width: 100px; height: 100px;}
.upload_img { position:relative; width: 100px; height: 100px; overflow: hidden;}
.head-pic [type="file"] {   width: 69px; padding-top: 5px; } 
</style>
<div class="help-r fr" style="min-height:400px;">
    <div class="help-item-title">编辑资料
        <a class="barbecue" dialog_id="edit" nc_type="dialog" dialog_title="自由发布" dialog_width="540" uri="{:U('hosting')}" href="javascript:void(0);"><i class="fa-ico"></i>自由发布</a>
    </div>
	<form action="" method="post" enctype="multipart/form-data">
	<div>
	 <div class="help-main">
	 	<div class="head-pic">
	 		<div id="localImag">
	 			<if condition="empty($member['avatar'])">
	 			<img id="preview" src="__IMG__/defaultpic.png" width="100" height="100" style="display: block; width: 100px; height: 100px;">
	 			<else/>
	 			<img id="preview" src="__UPLOADS__/{$member['avatar']}" width="100" height="100" style="display: block; width: 100px; height: 100px;">
	 			</if>
	 		</div>
	 		<input type="file" name="file" id="doc" name="avatar" onchange="javascript:setImagePreview();"> 
	 		<!-- <img src="images/2.png" alt="" width="100" height="100">
	 	   <span><a href="#">编辑头像</a></span> -->
	 	</div>
	 	<div class="supply">
	 		<span>用户名：</span><input type="text" class="members-name" value="{$member['member_name']}" readonly></input>
	 		<span>邮箱地址：</span><input type="text" class="members-name" id="email" value="{$member['email']}" readonly></input>
	 	</div>
	 	<div class="supply">
	 		<span>昵&nbsp;&nbsp;&nbsp;称：</span><input type="text" class="members-name" name="nickname" value="{$member['nickname']}"></input>
	 		<span>密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：</span><input type="password" class="members-name" name="password" value="" ></input>
	 	</div>
		<div class="supply">
	 		<span>职&nbsp;&nbsp;&nbsp;位：</span><input type="text" class="members-name" value="{$member['profession']}" name="profession"></input>
	 	</div>
	 </div>

		<div class="resume">
	 		<span style="padding-left:40px; vertical-align: top;">个人简介：</span><textarea type="text" class="members-resume" name="introduce" value="{$member['introduce']}" >{$member['introduce']}</textarea>
	 	</div>
					
					<div><input class="save" type="submit" value="提交"></div>
	</div>
	</form>
</div>




<script src="__JS__/imgupload.js"></script>
<div class="clear"></div>
<script type="text/javascript" src="__STATIC__/common.js"></script>
<script language="javascript" src="__STATIC__/dialog/dialog.js"  id="dialog_js" charset="utf-8"> </script>
<script type="text/javascript" src="__STATIC__/jquery-ui/jquery.ui.js"></script>
<script type="text/javascript" src="__STATIC__/jquery-ui/i18n/zh-CN.js" charset="utf-8"></script>
<link rel="stylesheet" type="text/css" href="__STATIC__/jquery-ui/themes/ui-lightness/jquery.ui.css"  />
<link href="__STATIC__/dialog/custom.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
    $('a[nc_type="dialog"]').click(function(){
        var id = $(this).attr('dialog_id');
        var title = $(this).attr('dialog_title') ? $(this).attr('dialog_title') : '';
        var url = $(this).attr('uri');
        var width = $(this).attr('dialog_width');
        CUR_DIALOG = ajax_form(id, title, url, width,0);
        return false;
    });
</script>
<include file="Public/footer"/>